
package com.hlkj.pay.vo.ad.req;

import javax.validation.constraints.NotEmpty;

import com.hlkj.pay.vo.BaseReq;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 广告商
 * 
 * @TableName t_ad_company
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class AdMediaReq extends BaseReq {
    /**
     * 名称
     */
    @Schema(description = "id 更新时传")
    private Long id;

    /**
     * 名称
     */
    @Schema(description = "名称")
    @NotEmpty(message = "名称不能为空")
    private String name;

}
